#include "CollisionManager.h"

#include "LevelManager.h"
#include "Singleton.h"

bool CollisionManager::initialised = false;
CollisionManager CollisionManager::instance = CollisionManager();

void CollisionManager::initialise(const boost_path& fileName, PlayerPtr player)
{
    BEGIN_INITIALISATION("Initialising CollisionManager...");

    // load entries from file
    //instance.readFile(fileName);

    END_INITIALISATION("... CollisionManager initialised.");
}

CollisionManager& CollisionManager::get()
{
    GET_INSTANCE("CollisionManager");
}

void CollisionManager::cleanUp()
{
    BEGIN_CLEAN_UP("CollisionManager");

    //

    END_CLEAN_UP("CollisionManager");
}

CollisionManager::CollisionManager()
{
}

CollisionManager::~CollisionManager()
{
}

void CollisionManager::checkForCollisions()
{
    LevelPtr currentLevel = LevelManager::get().getCurrentLevel();
    std::vector<EnemyPtr>& enemies = currentLevel->getEnemies();

    //
}